import { requestClient } from '#/api/request';

// 列表
export const queryPage = (params: any) =>
  requestClient.get('/company/page', { params });

// 详情
export const queryDetail = (params: any) =>
  requestClient.get('/company/get', { params });

// 添加
export const querySave = (params: any) =>
  requestClient.post('/company/save', params);

// 更新
export const queryUpdate = (params: any) =>
  requestClient.post('/company/edit', params);

// 删除
export const queryRemove = (params: any) =>
  requestClient.post('/company/delete', params);

// 修改状态
export const setStatus = (params: any) =>
  requestClient.post('/company/setState', params);
